package com.syni.mdd.yhd.common.all.service;

import com.syni.mdd.yhd.common.all.dao.jpa.BmsDxConfigDao;
import com.syni.mdd.sjb.common.component.utils.common.utils.ParamsMap;
import com.syni.mdd.yhd.common.all.entity.BmsDxGroupBuy;

import java.util.Map;

/**
 * @className BmsDxGroupBuyUseService
 * @description TOO
 * @Author cfx
 * @DATE 2019/7/30 10:58
 * @VERSION 1.0
 **/
public interface BmsDxConfigService {
    //霸王餐活动配置码
    int MEAL_CODE = 100;
    //首页banner
    int MINAPP_BANNER_CODE = 101;
    //小程序区域配置
    int MINAPP_REGION_CODE = 102;
    //电享生活app配置
    int DXSHAPP_CONFIG_CODE = 103;
    //觅东东金刚区配置
    int MDD_GOLD_CODE = 104;

    //觅东东app初始化配置
    int MDD_APP_INIT = 106;

    BmsDxConfigDao getBaseDao();

    String getConfigByCode(int mealCode);

    Map<String, Object> getMiniAppConfig(ParamsMap paramsMap);

    void pushResultTime(BmsDxGroupBuy bmsDxGroupBuy);

    Map<String, Object> getDxshAppConfig(ParamsMap paramsMap);

    Map<String, Object> getAppConfig(ParamsMap paramsMap);

    void okc();

    Map<String, Object> getAppInitConfig(ParamsMap paramsMap);
}
